package com.cskaoyan.bean.mini_program_coupon;
/*
 * @author 魏骏杰
 */

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@NoArgsConstructor
@Data
public class CouponPOJO {
    private Integer id;
    private Integer coupon_id;
    private String name;
    private String desc;
    private String tag;
    private Integer min;
    private Integer discount;
    /*
    先检查time_type，如果存在值，则返回的startTime值为当前时间，endTime为startTime+days
     */
    private Integer type;
    private Integer time_type;
    private Integer days;
    private Date start_time;
    private Date end_time;
    private Integer limit;
}
